<?php

namespace App\Http\Controllers\admin;

use App\Http\Controllers\Controller;
use App\Models\City;
use Illuminate\Http\Request;

class CityController extends BaseController
{
    //
    function getcity(Request $request)
    {
        $pid = $request->get('id');

        $data =City::getCityIdbypid($pid);

        return $this->witeJson(0,['data'=>$data],'succeed');
    }
}
